class ListNode {
    val: number;
    next: ListNode | null;
    constructor(val?: number, next?: ListNode | null) {
        this.val = val === undefined ? 0 : val;
        this.next = next === undefined ? null : next;
    }
}
export const param1: ListNode = {
    val: 1,
    next: {
        val: 0,
        next: {
            val: 0,
            next: {
                val: 0,
                next: {
                    val: 0,
                    next: {
                        val: 0,
                        next: {
                            val: 0,
                            next: {
                                val: 0,
                                next: {
                                    val: 0,
                                    next: {
                                        val: 0,
                                        next: {
                                            val: 0,
                                            next: {
                                                val: 0,
                                                next: {
                                                    val: 0,
                                                    next: {
                                                        val: 0,
                                                        next: {
                                                            val: 0,
                                                            next: {
                                                                val: 0,
                                                                next: {
                                                                    val: 0,
                                                                    next: {
                                                                        val: 0,
                                                                        next: {
                                                                            val: 0,
                                                                            next: {
                                                                                val: 0,
                                                                                next: {
                                                                                    val: 0,
                                                                                    next: {
                                                                                        val: 0,
                                                                                        next: {
                                                                                            val: 0,
                                                                                            next: {
                                                                                                val: 0,
                                                                                                next: {
                                                                                                    val: 1,
                                                                                                    next: null,
                                                                                                },
                                                                                            },
                                                                                        },
                                                                                    },
                                                                                },
                                                                            },
                                                                        },
                                                                    },
                                                                },
                                                            },
                                                        },
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
        },
    },
};

export const param2: ListNode = {
    val: 5,
    next: {
        val: 6,
        next: {
            val: 4,
            next: null,
        },
    },
};
